package com.morehair.service.admin;

import com.morehair.bean.bo.admin.GroupOnRulesBo;
import com.morehair.bean.pojo.GrouponRules;
import com.morehair.bean.vo.admin.TotalAndItemsVo;

/**
 * Author  kkw
 * Date  2021/6/9 21:12
 * Version 1.0
 * Description :
 */
public interface GroupOnService {
    TotalAndItemsVo<GrouponRules> getGroupOnRules(Integer page, Integer limit, Integer goodsId, String sort, String order);

    GrouponRules createGroupOnRules(GroupOnRulesBo groupOnRulesBo);

    void deleteGroupOnRules(GrouponRules grouponRules);

    boolean updateGroupOnRules(GrouponRules grouponRules);

}
